package com.phonepn.mymall.goods.service.impl;

import com.phonepn.mymall.common.entity.Goods;
import com.phonepn.mymall.goods.mappers.GoodsMapper;
import com.phonepn.mymall.goods.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 商品
 *
 * @author quifar
 */
@Service
public class GoodsServiceImpl implements GoodsService {

    @Autowired
    private GoodsMapper goodsMapper;

    @Override
    public List<Goods> list() {
        return goodsMapper.list(null);
    }
}
